package com.hskn.hss.utils.redis.key;

import com.hskn.hss.utils.StringUtils;
import com.hskn.hss.utils.redis.BasePrefix;

/**
 * 该人员违规是否
 */
public class PersonViolationInGridFlagKeyToday extends BasePrefix {

    public static final int TOKEN_EXPIRE = StringUtils.getSecondsNextEarlyMorning().intValue();

    public static final String PERSON_VIOLATION_IN_GRID_FLAG_PREFIX = "PERSON_VIOLATION_IN_GRID_FLAG_TODAY_";

    private PersonViolationInGridFlagKeyToday(int expireSeconds, String prefix) {
        super(expireSeconds, prefix);
    }

    public static PersonViolationInGridFlagKeyToday token = new PersonViolationInGridFlagKeyToday(TOKEN_EXPIRE, PERSON_VIOLATION_IN_GRID_FLAG_PREFIX);
}
